<template>
<div>
  <el-container>
  <el-aside width="200px">
    <sidebar/>
  </el-aside>
  <el-container>
    <el-header>
      <el-button @click="$router.push('index')" style="margin-top:20px;margin-left:40px;color:'orange'" >工作台</el-button>

    </el-header>
    <el-main>
      <router-view></router-view>
    </el-main>

  </el-container>
</el-container>
</div>
</template>

<script>
import sidebar from '@/components/SideBar'
export default {
  components: {
    sidebar
  }
}
</script>

<style>

</style>
